package com.cmc.cloud.cmclink.doc.api.document.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * @author lzp
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
@Schema(description = "BLNO信息查询")
public class BlnoInfoReqMktDto {

    @Schema(description = "订舱船名")
    @NotBlank(message = "BlnoInfoReqMktDto.bkgVesselCode.NotBlank")
    private String bkgVesselCode;

    @Schema(description = "订舱航次")
    @NotBlank(message = "BlnoInfoReqMktDto.bkgVoyage.NotBlank")
    private String bkgVoyage;

    @Schema(description = "接货地")
    private String porCode;

    @Schema(description ="订舱人代码")
    private String bkpCode;

}
